repo.or.cz
/
and.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding some more judges, here and there.
[and.git]
/
lib
/
Mi manual de algoritmos
/
version_maraton_suramericana_2008
/
src
/
number_theory
/
divisores.cpp
blob
06ae036ecb402e115ba2dc4b1d267daf3bb2f7a5
1
for
(
int
i
=
1
;
i
*
i
<=
n
;
i
++) {
2
if
(
n
%
i
==
0
) {
3
cout
<<
i
<<
endl
;
4
if
(
i
*
i
<
n
)
cout
<< (
n
/
i
) <<
endl
;
5
}
6
}